package com.csu.jpetstore.mybatis.persistence;

import com.csu.jpetstore.mybatis.domain.Account;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountDao {
    Account getAccountByUsername(String username);
    Account getAccountByUsernameAndPassword(Account account);
    void insertAccount(Account account);
    void insertProfile(Account account);
    void insertSignOn(Account account);
    void updateAccount(Account account);
    void updateProfile(Account account);
    void updateSignOn(Account account);
}
